package com.tbit.main.pojo;


import lombok.Data;

import java.util.Date;

/**
 * @Author HZW
 * @ClassName RideRefundLog
 * @Description 骑行订单退款
 * @date 2022/4/15 15:36
 * @Version 1.0
 */
@Data
public class RideRefundLog {
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 骑行订单号
     */
    private String orderNo;
    /**
     * 金额
     */
    private Integer money;
    /**
     * 操作时间
     */
    private Date operaTime;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 用户手机号码
     */
    private String userPhone;
    /**
     * 操作用户id
     */
    private Integer accountUserId;
    /**
     * 操作用户手机号码
     */
    private String accountUserPhone;
    /**
     * 操作备注
     */
    private String operaRemark;
    /**
     * 退款类型，0退款到余额，1原路返回
     */
    private Integer type;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;

    public RideRefundLog() {
    }

    public RideRefundLog(Integer accountId, String orderNo, Integer money, Date operaTime, Integer userId, String userPhone, Integer accountUserId, String accountUserPhone, String operaRemark, Integer type) {
        this.accountId = accountId;
        this.orderNo = orderNo;
        this.money = money;
        this.operaTime = operaTime;
        this.userId = userId;
        this.userPhone = userPhone;
        this.accountUserId = accountUserId;
        this.accountUserPhone = accountUserPhone;
        this.operaRemark = operaRemark;
        this.type = type;
    }

    public RideRefundLog(String orderNo) {
        this.orderNo = orderNo;
    }

    public RideRefundLog(Integer accountId, Date operaTime, String userPhone, String accountUserPhone, Integer type) {
        this.accountId = accountId;
        this.operaTime = operaTime;
        this.userPhone = userPhone;
        this.accountUserPhone = accountUserPhone;
        this.type = type;
    }
}
